<template>
  <div>
    <table>
    <tr>
    <td> 请假工作流</td>
    <td> 
    <el-button @click='setparams(1)'>设置属性</el-button>
    <el-button @click='setaudit(1)'>设置审批流程</el-button>
    </td>
    </tr>
    <tr>
    <td> 报销工作流</td>
    <td> 
    <el-button @click='setparams'>设置属性</el-button>
    <el-button @click='setaudit'>设置审批流程</el-button>
    </td>
    </tr>
    </table>
  </div>
</template>

<script>
export default {
    methods: {
        setparams(id){
            this.$router.push({"path":"/work?id="+id})
        },
        setaudit(id){
          this.$router.push({"path":"/setaudit?id="+id})
        }
    },
}
</script>

<style>

</style>